<div class="container" #imageSliderContainer>
  <div class="image-slider" #imgSlider (scroll)="handleScroll($event)" (touchmove)="handleTouchMove()"
    (touchend)="handleTouched()">
    <!-- <div class="list" #imgSlider>
      <img *ngFor="let item of sliders" [src]="item.imageUrl" alt="" #img>
    </div> -->
    <img *ngFor="let item of sliders" [src]="item.imageUrl" alt="" #img>
  </div>
  <div class="mask">
    <span class="slider-spot" *ngFor="let _ of sliders; let idx = index;"
      [ngStyle]="{'background-color': idx===imgIndex - 1?'red':''}"></span>
  </div>
</div>
